package code.hkgolden.android.data;

import java.io.Serializable;
import java.util.Date;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.map.annotate.JsonDeserialize;

import code.hkgolden.android.util.DateDeserializer;

@SuppressWarnings("serial")
@JsonIgnoreProperties(ignoreUnknown = true)
public class Reply implements Serializable {

	@JsonProperty(value = "Reply_ID")
	private Integer id;
	@JsonProperty(value = "Message_ID")
	private Integer topicId;
	@JsonProperty(value = "Author_Gender")
	private String authorGender;
	@JsonProperty(value = "Author_Name")
	private String authorName;
	@JsonProperty(value = "Message_Date")
	@JsonDeserialize(using = DateDeserializer.class)
	private Date date;
	@JsonProperty(value = "Message_Body")
	private String body;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTopicId() {
		return topicId;
	}

	public void setTopicId(Integer topicId) {
		this.topicId = topicId;
	}

	public String getAuthorGender() {
		return authorGender;
	}

	public void setAuthorGender(String authorGender) {
		this.authorGender = authorGender;
	}

	public String getAuthorName() {
		return authorName;
	}

	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

}
